package com.uchiha.nova.core.model.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 业务人员账号 模型DTO
 *
 * @author Uchihashiamu
 */
@Data
@Schema(description = " 业务人员账号 模型DTO")
@JsonIgnoreProperties(ignoreUnknown = true)
public class OilUserDTO  implements Serializable {

	private static final long serialVersionUID = 1L;
	/**
	 * 主键id
	 */
    @Schema(description = "主键id")
	private Long id;
	/**
	 * 用户名
	 */
    @Schema(description = "用户名")
	private String username;

	/**
	 * 密码
	 */
	@Schema(description = "密码")
	private String password;

	/**
	 * 名称
	 */
	@Schema(description = "名称")
	private String name;
	/**
	 * 省代码
	 */
    @Schema(description = "省代码")
	private String provinceCode;
	/**
	 * 城市代码
	 */
    @Schema(description = "城市代码")
	private String cityCode;
	/**
	 * 区县代码
	 */
    @Schema(description = "区县代码")
	private String areaCode;
	/**
	 * 街道id
	 */
    @Schema(description = "街道id")
	private String streetCode;
	/**
	 * 角色id
	 */
    @Schema(description = "角色id")
	private Long roleId;

	@Schema(description = "数据权限")
	List<String> dataAuth;
	/**
	 * 头像
	 */
    @Schema(description = "头像")
	private String img;
	/**
	 * 用户的租户
	 */
    @Schema(description = "用户的租户")
	private String tenant;
	/**
	 * 备注
	 */
    @Schema(description = "备注")
	private String remark;
	/**
	 * 所属租户
	 */
    @Schema(description = "所属租户")
	private String tenantId;
}
